package com.mingqijia.gassafety.db.mapper;

import com.mingqijia.gassafety.db.entity.PushMsg;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 时刻家APP消息推送和短信发送记录表 Mapper 接口
 * </p>
 *
 * @author guoliang.lao
 * @since 2023-03-31
 */
@Repository
public interface PushMsgMapper extends BaseMapper<PushMsg> {

    List<PushMsg> selectMessageList(@Param("sendTime") Integer sendTime);

    void updateByIds(@Param("ids")List<Long> ids,@Param("type")int type);
}
